<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <link rel="stylesheet" type="text/css" href="vendor/node_modules/simditor/styles/simditor.css" />

    <script type="text/javascript" src="vendor/node_modules/jquery/dist/jquery.min.js"></script>
    <script src="vendor/node_modules/simple-hotkeys/node_modules/simple-module/lib/module.js"></script>
    <script type="text/javascript" src="vendor/node_modules/simple-hotkeys/lib/hotkeys.js"></script>
    <script type="text/javascript" src="vendor/node_modules/simple-uploader/dist/uploader.js"></script>
    <script type="text/javascript" src="vendor/node_modules/simditor/lib/simditor.js"></script>


</head>
<body>
<textarea id="editor" placeholder="Balabala" autofocus></textarea>
</body>
</html>

<script>
    var editor1 = new Simditor({
        textarea: $('#editor'),
        defaultImage: '',
        params: {},
        upload: {
            fileObjName: 'img',
            url: 'qyadmin.com/syssms/upload',
            fileKey: 'img',
            connectionCount: 3,
            leaveConfirm: '正在上传文件'
        },
        tabIndent: true,
        toolbar: [
            'title',
            'bold',
            'italic',
            'underline',
            'strikethrough',
            'fontScale',
            'color',
            'ol',
            'ul',
            'blockquote',
            'code',
            'table',
            'link',
            'image',
            'hr',
            'indent',
            'outdent',
            'alignment',
        ],
        toolbarFloat: true,
        toolbarFloatOffset: 0,
        toolbarHidden: false,
        pasteImage: false,
        cleanPaste: false,
    });
</script>